<template>
	<view class="">
		<u-navbar :is-back="false" title="">
			<view class="slot-wrap">
				<view class="back-box" @click="back">
					<view class="icon">
						<u-icon name="arrow-left" color="#999999" size="30"></u-icon>
					</view>
					<view class="back">返回</view>
				</view>
				<view class="title-box">助教录入</view>
				<view class="more-box" @click="submit">提交信息</view>
			</view>
		</u-navbar>
		<view class="" style="margin: 30rpx;margin-top: 0;padding-top: 30rpx;">
			<assistantApplayInformation />
		</view>
	</view>
</template>

<script lang="ts" setup>
	import assistantApplayInformation from '@/componnens/assistant-apply-information.vue'

	const submit = () => {
		uni.switchTab({
			url: '/pages/home/index'
		})
	}

	const back = () => uni.navigateBack()
</script>

<style lang="scss" scoped>
	.slot-wrap {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: 1;

		.title-box {
			opacity: 1;
			/** 文本1 */
			font-size: 16px;
			font-weight: 400;
			letter-spacing: 0px;
			line-height: 23.17px;
			color: rgba(0, 0, 0, 1);
		}

		.more-box {
			opacity: 1;
			/** 文本1 */
			font-size: 10px;
			font-weight: 400;
			letter-spacing: 0px;
			line-height: 14.48px;
			color: rgba(0, 0, 0, 1);
			padding-right: 28rpx;
		}

		.back-box {
			display: flex;
			align-items: center;
			padding-left: 28rpx;

			.back {
				opacity: 1;
				/** 文本1 */
				font-size: 10px;
				font-weight: 400;
				letter-spacing: 0px;
				line-height: 14.48px;
				color: rgba(0, 0, 0, 1);
			}
		}

		/* 如果您想让slot内容占满整个导航栏的宽度 */
		/* flex: 1; */
		/* 如果您想让slot内容与导航栏左右有空隙 */
		/* padding: 0 30rpx; */

	}
</style>